﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JControlEx.Common;

namespace ControlDemoWindow
{

    public enum TestEnum
    {
        Value1,
        Value2
    }

    public class TestClass
    {
        public TestClass()
        {
            Pictures = Encoding.Default.GetBytes("afdasdfasdf");
            DateTimes = new HashSet<DateTime>() { DateTime.Now, DateTime.Today };
            Now = DateTime.Now;

            ButtonClick = (str, i) => 20;
        }

        public Func<string> Test { get { return ButtonClick_Click; } }

        public string UserName { get; set; }

        public byte[] Pictures { get; set; }

        public List<string> StringList { get; set; }

        public HashSet<DateTime> DateTimes { get; set; }

        public DateTime Now { get; set; }

        public string Password;

        public bool TestBool { get; set; }

        private string _privateMem;

        public Func<string, int, int> ButtonClick { get; set; }

        public TestEnum Enueration { get; set; }

        public string ButtonClick_Click()
        {
            return "Hello world";
        }
    }
}
